package com.fr71.framework.task;

import com.fr71.common.utils.StringUtils;
import com.fr71.framework.manager.AsyncManager;
import com.fr71.project.dm.utils.RedisUtil;
import com.fr71.project.dm.utils.TaskFactroy;
import org.springframework.stereotype.Component;

/**
 * 定时任务调度测试
 *
 * @author devzwy
 */
@Component("projectTask")
public class ProjectTask {

    public void resetAllMonthChangeTimes(){
        AsyncManager.me().execute(TaskFactroy.resetAllMonthChangeTimes());
    }

    public void delAllQQMark(){
        RedisUtil.delAllQQMark();
    }

    public void refreshUesedTime(){
//        AsyncManager.me().execute(TaskFactroy.INSTANCE.refreshUesedTime());
    }
}
